<extend name="Public/base" />

<block name="body">
  <div class="main-title"><h2>添加拼团商品</h2><span style="line-height:30px;height:30px;color:#e01919;margin-left:10px;">（注意：拼团商品只能添加一次,请谨慎操作）</span></div> 
  <form id="form" action="{:U('itemAdd')}" method="post" class="form-horizontal">
    <div class="item-field">
      <div class="tab-content">
        <div class="tab-pane in tab0">
          <div class="form-item cf">
            <label class="item-label">拼团商品</label>
            <div class="controls">
              {:hook('itemSel', array('name' => 'item_ids', 'items' => $data['item_ids'],'show' => 1,'active'=>'joinitem','store_id'=>$store_id))}
            </div>
          </div>
        </div>
      </div>
      <div class="form-item form-action cf">
        <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">添加</button>
        <a class="btn btn-return" href="javascript:history.back(-1);">返 回</a>
        <input type="hidden" name="join_id" value="{$join_id}"/>
      </div>
    </div>
  </form>
</block>

<block name="script"> 
  <script type="text/javascript" charset="utf-8">
      //导航高亮
      highlight_subnav("{:U('index')}");
  </script>
</block>